<div style="padding:20px;font-size:10pt;">

	{language text="here_you_can_create_new_a"}


<form method="post" action="{url link='admin.extra.add-ads'}">
<br />
<table cellspacing="0" width="100%" class="forumline">
<tr>
	<td class="row-header" colspan="2"><span>{language text="create_new_ad"}</span></td>
</tr>
<tr> 
	<td class="catBottom" colspan="2">
	<br />
	<ul>
{foreach from=$aTypes item=aType name=atypes}
		<li><b>{i18n key=$aType.name}:</b> {i18n key=$aType.dim}</li>
{/foreach}
	</ul>
	</td>
</tr>
<tr> 
	<td class="row1" width="38%" style="text-align:right;"><span class="gen">{language text="ad_location"}:</span></td>
	<td class="row2">
		<select name="type" style="width:150px;">
{foreach from=$aTypes key=iType item=aType name=atypes}
            <option value="{$iType}">{i18n key=$aType.name}</option>
{/foreach}
		</select>
	</td>
</tr>
<tr> 
	<td class="row1" style="text-align:right;"><span class="gen">{language text="ad_html"}:</span></td>
	<td class="row2"><textarea cols="50" rows="8" name="text"></textarea></td>
</tr>
<tr> 
	<td class="catBottom" style="text-align:right;"></td>
	<td class="catBottom" style="text-align:left;font-size:8pt;"> 
		<input type="submit" name="act[add]" value=" {language text="submit"} " />
	</td>
</tr>
</table>
</form>
</div>
<br /><br />